<?php	require_once(dirname(__FILE__).'/inc/config.inc.php'); 

$dosql->Execute("SELECT `id` FROM `#@__order` WHERE `jindu`=1 ",1);
$count1=$dosql->GetTotalRow(1); //已经派单

$dosql->Execute("SELECT `id` FROM `#@__order` WHERE `jindu`=2   ",2);
$count2=$dosql->GetTotalRow(2); //维修中

$dosql->Execute("SELECT `id` FROM `#@__order` WHERE `jindu`=3 ",3);
$count3=$dosql->GetTotalRow(3); //报修完成

$dosql->Execute("SELECT `id` FROM `#@__order` WHERE `jindu`=4 ",4);
$count4=$dosql->GetTotalRow(4); //报修完成

$dosql->Execute("SELECT `id` FROM `#@__order` WHERE `jindu`=5 ",5);
$count5=$dosql->GetTotalRow(5); //报修完成


$dosql->Execute("SELECT `id` FROM `#@__order` WHERE 1 ",6);
$count_all=$dosql->GetTotalRow(6); //报修完成

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台首页</title>
<link href="templates/style/admin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="templates/js/jquery.min.js"></script>
<script type="text/javascript" src="templates/js/layer/layer.js"></script>
<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="ui/css/bootstrap.min.css">
<link rel="stylesheet" href="ui/css/bootstrap-theme.min.css" >
<script src="ui/js/bootstrap.min.js" ></script>
</head>
<body>
<div class="place"> <span>位置：</span>
  <ul class="placeul">
    <li><a href="#">首页</a></li>
    <li><a href="#">系统设置</a></li>
  </ul>
</div>
<div class="formbody">
  <div class="formtitle"><span>站点设置</span></div>
  <div class="toolsli">
    <ul class="toollist">
      <li><a href="web_config.php"><img src="templates/images/run.png" width="45"/></a>
        <h2>网站配置</h2>
      </li>
      <li><a href="admin.php"><img src="templates/images/zbdj.png" width="45"/></a>
        <h2>管理员</h2>
      </li>
      <li><a href="database_backup.php"><img src="templates/images/DB.png" width="45"/></a>
        <h2>数据库管理</h2>
      </li>
      <li><a href="sysevent.php"><img src="templates/images/display.png" width="45"/></a>
        <h2>日志管理</h2>
      </li>
    </ul>
  </div>
  <div class="formtitle"><span>内容管理</span></div>
  <div class="toolsli">
    <ul class="toollist">
      <li><a href="infoclass.php"><img src="templates/images/icon07.png"  width="45"/></a><h2>栏目管理</h2></li>
      <li><a href="info.php"><img src="templates/images/i06.png"  width="45"/></a><h2>单页管理</h2></li>
      <li><a href="infolist.php"><img src="templates/images/icon01.png"  width="45"/></a><h2>文章列表</h2></li>
      <li><a href="infolist_add.php"><img src="templates/images/ico02.png"  width="45"/></a><h2>添加文章</h2></li>

    </ul>
  </div>
</div>
</body>
</html>